><

Setting up link actions



Link actions are actions which are applied to hyperlinked items and triggered by some type of interaction with the link, such a mouse or a key action. (See About Action triggers.)

To add a link action to your page, create and highlight a link (on a picture or text), and switch to the Actions palette. You should see a list of events on the left side. If you haven't highlighted a hyperlinked item, no events will be active. This is because link actions are initiated by a JavaScript event handler, which can only reside in the <A> tag of a linked item.

If you want to add a link action without making the hyperlink go to another page, you can either make the link to the same page or enter the "#" sign in the URL field.

To set up an action triggered by a mouse event:

1 In the Layout view of the document window, select text or an image on the page.

2 Click the New Link button in the toolbar.

3 Click the Link tab in the Inspector.

4 Type # in the URL (Universal Resource Locator) text box in the Inspector. The # character creates an empty anchor, which deactivates the link.

5 In the Actions palette, choose a trigger option from the Events list:

  • Mouse Click triggers the action when the user clicks on the text or image.
  • Mouse Enter triggers the action when the mouse pointer is over the text or image.
  • Mouse Exit triggers the action when the mouse pointer leaves the text or image.

  • 6 Click the + above the Actions list.

    7 Choose an action from the Action menu in the Actions palette.


    A. Choose a mouse or key event that triggers the action. B. Click the + button to enable action attachment. C. Choose an action from the Action menu.

    For information on using individual actions, see Using Adobe GoLive actions and Using Actions Plus actions.


    Using Actions > Setting up actions > Setting up link actions